<div id='div_neck'>
  <div id='div_head_cat' class='container_12'>
      <div class="cat_box left "><a class="a_head_cat <?php echo '<'.'?php echo isset($_GET[\'cat_id\']) && 0==$_GET[\'cat_id\']'.'? \'select\':\'normal\';?>';?>" href="/">首页</a></div>
      <?php $i=1;foreach($this->cats as $id=>$name){ if ($i++ < HEAD_CAT_NUM){?>
      <div class="cat_box left "><a class="a_head_cat <?php echo '<'.'?php echo isset($_GET[\'cat_id\']) && '.$id.'==$_GET[\'cat_id\']'. '? \'select\':\'normal\';?>';?>" href="/category/select?cat_id=<?php echo $id;?>"><?php echo $name;?></a></div>
      <?php }}?>
      <div class="cat_box left "><a class="a_head_cat normal" href="/category/all">所有分类</a></div>
  </div>
</div>  




